import { BrowserWindow } from "electron";
import { CommonWindow } from "./windowManager";
import { waterIcon } from "./icon"

function createInfoWindow(_mainWin: BrowserWindow) {
  const win = new CommonWindow({
    width: 800,
    height: 600,
    title: '统计信息',
    // alwaysOnTop: true, // 窗口置顶
    center: true, // 居中
    transparent: false, // 透明
    frame: true, // 边框
    autoHideMenuBar: true, // 自动隐藏菜单栏
    icon: waterIcon,
    resizable: true, // 窗口缩放
  }, undefined, "info")

  win.show()

}

export {
  createInfoWindow
}
